package math;

import java.util.*;

public class FunctionDefinition implements Statement
{
    String symbol;
    List<String> parameters;
    List<MathNode> defaultValues;
    MathNode body;

    FunctionDefinition(String s,List<String> p,List<MathNode> dv,MathNode b)
    {
        this.symbol = s;
        this.parameters = p;
        this.defaultValues = dv;
        this.body = b;
    }

    @Override
    public String toDisplayString()
    {
        return symbol + " function definition";
    }
}
